package com.winsdom.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "收款流水查询参数")
public class PaymentDTO {
    @ApiModelProperty(value = "当前页码" ,example = "1")
    @NotNull(message = "当前页码不能为空")
    private Integer currentPage ;

    @ApiModelProperty(value = "每页条数" ,example = "10")
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize ;

    @ApiModelProperty(value = "收款流水号" ,example = "1")
    private String receiptSerial;

    @ApiModelProperty(value = "到账时间" ,example = "2025-05-21T17:26:48")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "到账时间" ,example = "2025-05-23T17:26:48")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "到账金额" ,example = "1")
    private BigDecimal minAmount;

    @ApiModelProperty(value = "到账金额" ,example = "999")
    private BigDecimal maxAmount;
}
